/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-10-15  20:32
 */
public class Test {
    public static void main(String[] args) {
        long sum = 0;
        double temp = 0.0;
        for(int i = 0; i < 10; i++) {
            temp = Math.pow(10,i) + 9;
            sum += temp;
            temp = 0;
        }
        System.out.println(sum);
    }
}
